package com.kuang.bean;



public class LoginBean {
    private String userName;
    private String password;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public boolean login(String userName, String password) {
        if ("qq".equals(userName) && "123".equals(password)) {
            return true;
        }
        return false;
    }
}
